
#include <iostream>
#include <fstream>
#include <string>
#include <map>
#include <vector>
#include <set>

using namespace std;

#include "Mutex.h"
#include "Cond.h"
#include "BiContainer.h"
#include "Lockable.h"
#include "VarCol.h"
#include "Formattable.h"
#include "TableState.h"
#include "Table.h"

int main () {

 Table table ("db/table2");
 TableState state (table);
 vector<string> columnData; /* Retrieved data */

 table.open ( state );
  
 while ( table.getRow ( state, columnData ) );

 /* print out data */
 vector<string>::iterator itr = columnData.begin ();

 while (itr < columnData.end ()) {
  cout << *itr << endl;
  itr++;
 }

 return 0;
}




